<template>
  <div class="consult-page">
    <nav-bar title="问诊记录"> </nav-bar>
    <van-tabs v-model:active="activeName" sticky>
      <van-tab title="极速问诊" name="2">
        <consult-order-list type="2" />
      </van-tab>
      <van-tab title="找医生" name="1">
        <consult-order-list type="1" />
      </van-tab>
      <van-tab title="开药问诊" name="3">
        <consult-order-list type="3" />
      </van-tab>
    </van-tabs>
  </div>
</template>

<script lang="ts" setup>
import ConsultOrderList from './components/consult-order-list.vue'
import { ref } from 'vue'
const activeName = ref('2')
</script>

<style lang="scss" scoped>
.consult-page {
  padding-top: 46px;
  background-color: var(--cp-bg);
  min-height: calc(100vh - 46px);
}
</style>
